<?php
class ArticleTypeAction extends BaseAction{
	protected $msg = '文章类别';

	public function setFilter(){
		if(isset($_GET['word']) && !empty($_GET['word']))
			$this->where['name'] = array('like','%'.trim($_GET['word']).'%');
	}
}
?>